Skip to content

feat: add TempDir::new_in/with_prefix/with_prefix_in #135

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 2, 2025

Conversation

sunshowers
Copy link
Contributor

Add these functions because they're useful, and to mirror tempfile.

These functions can be implemented with older tempfile, but it's easier to bump it up to 3.8 (which is the first version that implemented them). I used cargo update --precise to pin Cargo.lock to 3.8.0, but I could just update Cargo.lock and/or Cargo.toml to 3.19.1. Let me know!

Add these functions because they're useful, and to mirror `tempfile`.

These functions can be implemented with older `tempfile`, but it's easier to
bump it up to 3.8 (which is the first version that implemented them). I used
`cargo update --precise` to pin `Cargo.lock` to 3.8.0, but I could just update
`Cargo.lock` and/or `Cargo.toml` to 3.19.1. Let me know!
@coveralls
Copy link

Pull Request Test Coverage Report for Build 14801751940

Details

  • 0 of 15 (0.0%) changed or added relevant lines in 2 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-1.6%) to 27.778%

Changes Missing Coverage Covered Lines Changed/Added Lines %
src/fixture/file.rs 0 1 0.0%
src/fixture/dir.rs 0 14 0.0%
Totals Coverage Status
Change from base Build 14241771843: -1.6%
Covered Lines: 70
Relevant Lines: 252

💛 - Coveralls

@epage epage merged commit 166e6ad into assert-rs:master May 2, 2025
16 of 17 checks passed
@sunshowers sunshowers deleted the new-in branch May 3, 2025 02:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants